CC=gcc
CFLAGS=-Wall -g
LDFLAGS=-lm -pthread -I ./common/ ./common/common.c

.PHONY: all clean

all: server client

server: cserver.c
	$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)

client: cclient.c 
	$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)

clean:
	rm -f *.o main